//入口文件
import Vue from 'vue'
import App from './App.vue'
import ElementUI, { Message, MessageBox } from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import './assets/less/index.less'
import router from '../router'
import store from '../store'
import http from 'axios'
import moment from 'moment'
import * as echarts from 'echarts';



Vue.config.productionTip = false
Vue.use(ElementUI)//通过use函数对elementui进行注入
Vue.prototype.$http = http
Vue.prototype.$confirm = MessageBox.confirm
Vue.prototype.$message = Message
Vue.prototype.$moment = moment
Vue.prototype.$echarts = echarts

new Vue({
  store,
  router,
  render: h => h(App),
}).$mount('#app')
